package org.rqb.timer;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Timer;

@Data
public class MyTimer extends Timer {
    private final String timerName;

    private final LocalDateTime recodeDateTime; //记录时间

    private final LocalDateTime startDateTime; //开始时间

    private final LocalDateTime endDateTime; //结束时间


    public MyTimer(String timerName, LocalDateTime recodeDateTime, LocalDateTime startDateTime, LocalDateTime endDateTime) {
        super();
        this.timerName = timerName;
        this.recodeDateTime = recodeDateTime;
        this.startDateTime = startDateTime;
        this.endDateTime = endDateTime;
    }
}
